var timer = null;
var width = 0;
var box = null;

function growIt() {
	if (width >= 85) {
        clearInterval(timer);
    }
	if(width%10 > 0) {
		width += 15;
	}
	else {
		width += 5;
	}
    box.style.width = width + '%';
    
}

function initBar() {
    box = document.getElementById("title");
    box.width = '0%';
    timer = setInterval(growIt, 40);
}

function createWidget() {
	alert('creating a widget');
}


